<!DOCTYPE html>
<html ng-app="myApp">
	<head>
		<meta charset="utf-8" />
		<title>angular实战</title>
		<link rel="stylesheet" href="css/main.css" />
	</head>
	<body>
		<div class="wrap">
			<div class="nav">
				<a ui-sref="index" ui-sref-active="active" href="">首页</a>
				<a ui-sref="front" ui-sref-active="active" href="">前端</a>
				<a ui-sref="technology" ui-sref-active="active" href="">技术</a>
				<a ui-sref="course" ui-sref-active="active" href="">教程</a>
				<a ui-sref="resources" ui-sref-active="active" href="">资源</a>
				<a ui-sref="ask" ui-sref-active="active" href="">求教</a>
				<a ui-sref="mySpace" ui-sref-active="active" href="">我的前端</a>
			</div>
			<div ui-view="main" class="view"></div>
		</div>
	</body>
	<script type="text/javascript" src="js/angular.min.js" ></script>
	<script type="text/javascript" src="js/angular-ui-router.min.js" ></script>
	<script type="text/javascript" src="js/app.js" ></script>
	<script type="text/javascript" src="js/controller.js" ></script>
</html>
